import Vue from 'vue'
import VueRouter from 'vue-router'

import Table from '../components/Table.vue'
import dwcldsqd from '../components/dwcldsqd.vue'
import WYWCCLSQD from '../components/WYWCCLSQD.vue'
import WTXFHJL from '../components/WTXFHJL.vue'
Vue.use(VueRouter)

const routes = [
    {
        path: '/',
        // name: 'home',
        component: Table
    },

    {
        path: '/RYWC',
        // name: 'home',
        component: Table
    },
    {
        path: '/waichu',
        // name: 'home',
        component: dwcldsqd
    },

    {
        path: '/WYWCCLSQD',
        // name: 'home',
        component: WYWCCLSQD
    },
    {
        path: '/WTXFHJL',
        // name: 'home',
        component: WTXFHJL
    }


]

const router = new VueRouter({
    mode: 'history',
    base: process.env.BASE_URL,
    routes
})

export default router